﻿<%@ MasterType virtualPath="~/masterpage.master"%>
<%@ Page Title="" Language="C#" MasterPageFile="~/masterpage.master" AutoEventWireup="true" CodeFile="winkelwagen.aspx.cs" Inherits="winkelwagen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h1 style="margin: 15px;">Winkelwagen</h1>
    <asp:Label ID="nietingelogd" runat="server" Text=""></asp:Label>
    <asp:Panel ID="winkel_content" runat="server">
      
     <div style="float: right; margin-right: 50px;">
        <asp:Label ID="prijslabel" runat="server" Text="Totale prijs:"></asp:Label>
        <asp:Label ID="totaal" runat="server" Text="0.00"></asp:Label><br />
        <asp:Label ID="bestandslabel" runat="server" Text="Totale bestandsgrootte:"></asp:Label>
        <asp:Label ID="bestandsgrootte" runat="server" Text="0.00"></asp:Label>
    </div>
    <h2>Games</h2>
    <asp:GridView ID="GridView1" CssClass="grid_games" runat="server" AutoGenerateColumns="False" OnRowDeleting="GridView1_RowDeleting"
        CellPadding="4" Width="400px" ForeColor="#333333" GridLines="None"
        HorizontalAlign="Left" BorderStyle="Solid" BorderWidth="1px">
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:ImageField DataImageUrlField="IMAGE">
                <ControlStyle Height="42px" />
            </asp:ImageField>
            <asp:BoundField DataField="GAME_NR" HeaderText="GameID" Visible="False" />
            <asp:BoundField DataField="TITEL" HeaderText="Game" />
            <asp:BoundField DataField="PRIJS" HeaderText="Prijs" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <EmptyDataTemplate>
            Geen artikelen in de winkelwagen.
        </EmptyDataTemplate>
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
        
    </asp:GridView>
    <h2 style="float: none;">Hoesjes</h2>
    <asp:Label ID="hoesjeskosten" runat="server" Text="Label">
        De kosten voor alle hoesjes bedragen 0.50€
    </asp:Label>
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" OnRowDeleting="GridView2_RowDeleting"
        CellPadding="4" Width="300px" GridLines="None" ForeColor="#333333" CssClass="grid_covers" 
        HorizontalAlign="Left" BorderStyle="Solid" BorderWidth="1px">
        <RowStyle BackColor="#EFF3FB" />
        <Columns>
            <asp:ImageField DataImageUrlField="IMAGE">
                <ControlStyle Height="42px" />
            </asp:ImageField>
            <asp:BoundField DataField="GAME_NR" HeaderText="GameID" Visible="False" />
            <asp:BoundField DataField="TITEL" HeaderText="Game" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <EmptyDataTemplate>
            Geen artikelen in de winkelwagen.
        </EmptyDataTemplate>
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
        
    </asp:GridView>
        
        <div style="position: absolute; right: 10px; bottom: 10px;">
            <asp:LinkButton ID="LinkButton1" PostBackUrl="~/betaling.aspx" runat="server">Betalen</asp:LinkButton>
        
        </div>
   </asp:Panel>
</asp:Content>


